<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="fullpage.js/jquery.fullPage.css">
    <link rel="stylesheet" href="./styles/cmgr.css">
    <link rel="stylesheet" href="./styles/css3list.css">
    <script data-main="./scripts/cmgr" src="requirejs/require.js"></script>
    <title>题目管理</title>
</head>

<body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">CRS课堂应答系统</a>
            </div>
            <div id="navbar" class="collapse navbar-collapse">
                <ul class="nav navbar-nav" id="navbar-nav">
                    <li><a href="teacher.html">开始运行系统</a></li>
                    <li class="active"><a href="#problem_list">题库列表</a></li>
                    <li><a href="#edit_problem">题目编辑</a></li>
                </ul>
            </div>
            <!--/.nav-collapse -->
        </div>
    </nav>
    <div id="fullpage">
        <div data-anchor="problem_list" class="container-fluid section">
            <div class="row">
                <div class="col-md-3">
                    <h4>分类标签 <button id="btn_addgroup" type="button " class="btn btn-primary btn-small">新建分类</button></h4>
                    <div class="list-group">
                        <a href="#" class="list-group-item"><span class="badge">1</span> Cras justo odio </a>
                        <a href="#" class="list-group-item"><span class="badge">14</span>Dapibus ac facilisis in</a>
                        <a href="#" class="list-group-item active"><span class="badge">8</span>Morbi leo risus</a>
                        <a href="#" class="list-group-item">Porta ac consectetur ac</a>
                        <a href="#" class="list-group-item"><span class="badge">5</span>Vestibulum at eros</a>
                    </div>
                </div>
                <div class="col-md-9">
                    <h4>题目列表 <button id="btn_add_pro" type="button " class="btn btn-primary btn-small">添加题目</button></h4>
                    <ol id="tm_list" class="rounded-list">
                    
                    </ol>
                </div>
            </div>
        </div>
        <div data-anchor="edit_problem" class="container-fluid section">
            <div class="row">
                <div class="col-md-12 column">
                    <form class="form-horizontal" role="form" onsubmit="return false;">
                        <div class="form-group">
                            <div class="col-sm-12">
                                <input type="text" class="form-control" placeholder="请输入问题内容" id="p_content" />
                            </div>
                        </div>
                        <div id="answer_container">
                            <div class="input-group">
                                <span class="input-group-addon">
                            <input type="radio" class="is_right" aria-label="..."  name="is_right" checked="checked" ><span></span> 
                          </span>
                                <input type="text" class="form-control" aria-label="..." placeholder="请输入答案选项">
                                <span class="input-group-addon del_an_hide">
                                    <a class="remove label label-danger"><i class="glyphicon-remove glyphicon"></i>删除</a>
                                </span>
                            </div>
                            <!-- /input-group -->
                            <div class="input-group">
                                <span class="input-group-addon">
                            <input type="radio" class="is_right" aria-label="..." name="is_right" ><span></span> 
                          </span>
                                <input type="text" class="form-control" aria-label="..." placeholder="请输入答案选项">
                                <span class="input-group-addon del_an_hide">
                                    <a class="remove label label-danger"><i class="glyphicon-remove glyphicon"></i>删除</a>
                                </span>
                            </div>
                            <!-- /input-group -->
                        </div>
                        <button id="btn_add_an" type="button " class="btn btn-primary btn-large btn-block">添加答案选项</button>
                        <hr class="col-sm-offset-2 col-sm-10">
                        <div class="form-group row">
                            <div class="col-sm-offset-2 col-sm-8">
                                <div class="checkbox">
                                 <div class="form-group" ></div>
                                    <label>当前选择的题库： </label><input id="p_group" type="text" placeholder="默认全部" disabled="" class="form-control">
                                    
                                    <div class="dropdown">
                                        <button id="dropdownMenu2" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-default dropdown-toggle">选择题库类别<span class="caret"></span></button>
                                        <ul aria-labelledby="dropdownMenu2" class="dropdown-menu">
                                            <li><a href="#">Action</a></li>
                                            <li><a href="#">Another action</a></li>
                                            <li><a href="#">Something else here</a></li>
                                            <li><a href="#">Separated link</a></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-6">
                                <a type="buttom" href="#problem_list" class="btn btn-primary btn-block">返回题目列表</a>
                            </div>
                            <div class="col-sm-6">
                                <button id="btn_save" type="buttom" class="btn btn-success btn-block">保存</button>
                            </div>
                        </div>
                    </form>
                </div>
                <hr class=" col-sm-offset-2 col-sm-8">
            </div>
        </div>
    </div>



<div class="modal fade" id="loading_Modal" >
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">正在连接服务器。。。</h4>
      </div>
      <div class="modal-body">
        <img src="images/loading.gif" width="100%">
      </div>
     
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->


    

</body>

</html>
